Search
Calendar.PasteFromClipboard Method (Nullable(DateTime), Resource)
See Also
 





Pastes items from the clipboard at the specified date and resource.

Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public void PasteFromClipboard (
    Nullable<DateTime> date,
    Resource resource
)

Visual Basic  Copy Code

Public Sub PasteFromClipboard( _
    date As Nullable(Of DateTime), _
    resource As Resource _
)

 Parameters

date

resource

 Remarks

Pastes items from the clipboard at the specified date and associates them with the provided resource. If a date is specified, the items are shifted relative to the clipboard's reference date to preserve their relative timing; if the date is null, items are pasted using their original start and end times.

The ItemPasting event serves as a validation hook, allowing you to inspect each item before it is added to the schedule and optionally skip specific items by setting the Confirm property to false.

 See Also